package suggest_151_practice;

import java.io.IOException;

public class finallTest {
    public static void main(String[] args) throws IOException {
        System.out.println(xwe());
        String x = get("213");
        System.out.println(x);
    }

    private static int xwe() throws IOException {
        int x = 1;
        try {
            throw new IOException();
        }catch (NullPointerException e) {
            e.printStackTrace();
        }finally {
            return x;
        }

    }

    static <T> T get(String key){

        T t = (T) key;
        return t;
    }
}
